#ifndef MYITEM_H
#define MYITEM_H

#include <QGraphicsPixmapItem>
#include<QString>
#include<QGraphicsSceneMouseEvent>
class myitem : public QGraphicsPixmapItem
{
public:
    myitem();
    void setPic(QString path);
    void mousePressEvent(QGraphicsSceneMouseEvent* event);
    void setmice(bool mice);
    bool ismice();
private:
    bool mice;
};

#endif // MYITEM_H
